<?php

defined( 'IN_CLASS' ) or die( 'Access Error!' );

class ModelLinks extends base {
	
	public function getall() {
		$sql = "select * from $this->tlinks order by clknum desc";
		$aLinks = model::dbuser()->get_all( $sql );
		return $aLinks;
	}
}